package com.dd.stack.postgresql;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @Author liuxianmeng
 * @CreateTime 2024/11/5 23:12
 * @Description 启动
 */
@EnableScheduling
@SpringBootApplication
@ComponentScan(basePackages = {"com.dd.stack.postgresql"})
@MapperScan(basePackages = {"com.dd.stack.postgresql.mapper"})
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }
}
